/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package documentadorrepositorio.artefatos;

import java.util.Comparator;

/**
 *
 * @author André
 */
public class ComparadorArtefato implements Comparator<Artefato>{

    @Override
    public int compare(Artefato o1, Artefato o2) {
        return Integer.compare(o1.getNumeroArtefato(), o2.getNumeroArtefato());
    }
    
}
